//
// Created by Administrator on 2018/9/4.
//

#ifndef SELECTIONSORT_COMMON_H
#define SELECTIONSORT_COMMON_H

typedef enum {
    UP,
    DOWN,
    DEFAULT = UP,
}DIR;

#define SWAP(A,B) \
    typeof(A) C; \
    C = A; \
    A = B; \
    B = C;

#endif //SELECTIONSORT_COMMON_H
